@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Roboto:wght@700&family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Antique+Soft&display=swap');
@import 'bourbon';


/* body{
  background-color: #f2f2f2;
  
} */

body{
  width: calc(100vw - 10px);
  margin: auto;
  align-items: center;
  padding: 0;
  height: calc(100vh - 20px);
}


/* 背景画像と文字を区別させるためのオーバーレイ */
.countainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* カウントダウンタイマー本体 */
.countdown {
    position: relative;
    color: black;
    text-align: center;
    margin: auto;
    transform: translateY(50%) ;
}

/* タイトル */

/* 年のテキスト */
.new-year {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 200px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* タイマー部分を囲うコンテナー */
.time-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* hours, minutes, secondsの共通スタイル */
.time {
    font-family: 'Share Tech Mono', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    font-size: 20px;
}

/* hours, minutes, secondsの数値のスタイル */
.time-num {
  font-size: 60px;
  line-height: 1;
}

main{
  height: calc(100vh - 100px);
}
.main_container{
  align-items: center;
  margin: auto;
}


/* 小さいデバイス用に文字サイズ & margin調整 */
@media screen and (max-width: 600px) {
  body{
    width: calc(100svw - 10px);
    margin: auto;
    padding: 0;
    align-items: center;
    height: calc(100svh - 20px);
  }

  .new-year {
    font-size: 100px;
  }

  .time-wrap {
    margin-top: 10px;
  }

  .time {
    font-size: 12px;
    margin: 0 10px;
  }

  .time-num {
    font-size: 20px;
  }
  .main_title{
    font-size: 20px;
  }
}